home *** CD-ROM | disk | FTP | other *** search
/ Greenhouse Effect Detection Expriment / NASA Greenhouse Effect Detection Expriment 1992 - Disc 2.iso / software / dos / cdf22pc / src / include / cdfdump.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-09  |  976 b   |  37 lines

  1. /******************************************************************************
  2. *
  3. *  NSSDC/CDF                    Header file for CDFdump.
  4. *
  5. *  Version 1.0, 10-Feb-92, ST Systems (STX)
  6. *
  7. *  Modification history:
  8. *
  9. *   V1.0  10-Feb-92, J Love    Original version.
  10. *
  11. ******************************************************************************/
  12.  
  13. /******************************************************************************
  14. * Function Prototypes.
  15. ******************************************************************************/
  16.  
  17. #if defined(vms) | defined(__MSDOS__)
  18. void DisplayStats (FILE *);
  19. void PageInst (char **);
  20. #endif
  21.  
  22. #if defined(unix)
  23. void DisplayStats ();
  24. void PageInst ();
  25. #endif
  26.  
  27. /******************************************************************************
  28. * Check the status from a malloc call.
  29. ******************************************************************************/
  30.  
  31. #define CHECKmalloc(ptr) { \
  32. if (ptr == NULL) { \
  33.   printf ("Bad malloc.\n"); \
  34.   ExitBAD; \
  35. } \
  36. }
  37.